﻿using MoreGolf.Content.Items.GolfClubs;
using Terraria;
using Terraria.ModLoader;

namespace MoreGolf.Common.GlobalNPCs
{
    public class ShopNPC : GlobalNPC
    {
        public override void ModifyShop(NPCShop shop)
        {
            if (shop.NpcType == 588)
            {
                shop.Add<GolfClubStoneGold>();
                shop.Add<GolfClubGold>(Condition.GolfScoreOver(500));
                shop.Add<GolfClubGold>(Condition.GolfScoreOver(1000));
                shop.Add<GolfClubMythrilIronGold>(Condition.GolfScoreOver(2000));
                shop.Add<GolfClubTitaniumGold>(Condition.GolfScoreOver(1500));
            }
        }
    }
}
